package com.example.patient.jpa;

import com.example.common.entity.Question;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author wxy
 * @Date 2021/1/21 11:14
 * @Version 1.0
 */
public interface QuestionRepository extends JpaRepository<Question, Long> {

    List<Question> findAllByFidOrderByQidAsc(Long fid);
}
